module.exports = Behavior({
  properties: {
    prop: {
      type: String,
      value: 'properties-behavior-b'
    }
  },
  data: { data: 'data-behavior-b' },
  observers: {
    'prop, data': function(prop, data) { console.log('observers-behavior-b') }
  },
  methods: {
    handleMethod: function() { console.log('methods-behavior-b') }
    // 注册页面时，页面声明周期函数与页面监听函数写于此
  },
  lifetimes: {
    created: function() { console.log('created-behavior-b') },
    attached: function() { console.log('attached-behavior-b') },
    detached: function() { console.log('detached-behavior-b') },
    // ...
  },
  pageLifetimes: {
    show: function() { console.log('show-behavior-b') },
    hide: function() { console.log('hide-behavior-b') },
    // ...
  }
})